package com.stm.meet.Repository;

import com.stm.meet.Entitys.CardEntity;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CardRepository extends CrudRepository<CardEntity,Long> {

    List<CardEntity> findAllByMeetId(Integer meetId);
}
